package com.ydlcalss.proviver.domain;

import java.io.Serializable;

public class Goods implements Serializable {

    private Integer goodId;

    private String title;

    private double price;

    private Integer stock;

    public Integer getGoodId() {
        return goodId;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodId=" + goodId +
                ", title='" + title + '\'' +
                ", price=" + price +
                ", stock=" + stock +
                '}';
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }
}
